package com.hsp.demo_10.myabstract.employee;

public class EmployeeApp {
    public static void main(String[] args) {
        Employee manager = new Manager("小王", 28, 30000, 25000);
        manager.work();

        Employee commonEmployee = new CommonEmployee("小张", 35, 3800);
        commonEmployee.work();
    }
}
